home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be002.dxr / 00088.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  576 b   |  36 lines

  1. on enterFrame
  2.   puppetSprite(3, 1)
  3.   puppetSprite(5, 1)
  4.   puppetSprite(6, 1)
  5. end
  6.  
  7. on exitFrame
  8.   if the timer > 380 then
  9.     startTimer()
  10.     go(the frame + 1)
  11.   else
  12.     dad()
  13.     boy()
  14.     girl()
  15.     go(the frame)
  16.   end if
  17. end
  18.  
  19. on dad
  20.   set the locH of sprite 3 to the locH of sprite 3 - 7
  21. end
  22.  
  23. on girl
  24.   set the locH of sprite 5 to the locH of sprite 5 - 5
  25.   if the locH of sprite 5 <= 70 then
  26.     puppetSprite(5, 0)
  27.     set the visible of sprite 5 to 0
  28.     go(the frame + 1)
  29.     startTimer()
  30.   end if
  31. end
  32.  
  33. on boy
  34.   set the locH of sprite 6 to the locH of sprite 6 - 6
  35. end
  36.